class AppConfig {
  // 服务端域名
  final String serviceDomain;

  final String baiduOCRAPIKey;
  final String baiduOCRAPISecret;

  AppConfig(
      {required this.serviceDomain,
      required this.baiduOCRAPIKey,
      required this.baiduOCRAPISecret});
}

class DevConfig extends AppConfig {
  DevConfig()
      : super(
          serviceDomain: "http://39.101.165.116:8081",
          baiduOCRAPIKey: "T0Yl3qtqpjWzrdMLbtWGFNWF",
          baiduOCRAPISecret: "lPMP5sA6fbCEiMppS72JNOf1BvoGSW2y",
        );
}

class ProdConfig extends AppConfig {
  ProdConfig()
      : super(serviceDomain: "", baiduOCRAPIKey: "", baiduOCRAPISecret: "");
}
